home *** CD-ROM | disk | FTP | other *** search
/ The Beauty of Chaos / Beauty of Chaos, The - Vol. 1 (1995)(Schatztruhe)[!][Amiga-Mac-PC].iso / mac / gifconverter2.37.cpt.hqx / GIFConverter 2.3.7.rsrc / bin.rsrc_CODE_50_GreyMapCalc.txt < prev    next >
Text File  |  1994-01-29  |  21KB  |  381 lines

  1. # near model CODE resource
  2. # jump table entries: 21064-21070 (7 of them)
  3. export_2633:
  4. 00000000  4E56 FFFC                link       A6, -0x0004
  5. 00000004  2F07                     move.l     -[A7], D7
  6. 00000006  426E FFFC                clr.w      [A6 - 0x4]
  7. 0000000A  3E2E FFFC                move.w     D7, [A6 - 0x4]
  8. 0000000E  6010                     bra        +0x12 /* 00000020 */
  9. label00000010:
  10. 00000010  206E 0008                movea.l    A0, [A6 + 0x8]
  11. 00000014  3007                     move.w     D0, D7
  12. 00000016  E540                     asl        D0.w, 2
  13. 00000018  7200                     moveq.l    D1, 0x00
  14. 0000001A  2181 0000                move.l     [A0 + D0.w], D1
  15. 0000001E  5247                     addq.w     D7, 1
  16. label00000020:
  17. 00000020  0C47 00FF                cmpi.w     D7, 0xFF
  18. 00000024  6FEA                     ble        -0x14 /* 00000010 */
  19. 00000026  2E1F                     move.l     D7, [A7]+
  20. 00000028  4E5E                     unlink     A6
  21. 0000002A  2E9F                     move.l     [A7], [A7]+
  22. 0000002C  4E75                     rts
  23. 0000002E  8E43                     or.w       D7, D3
  24. 00000030  4C45 4152                movem.l    D1,D4,D6,A0,A6, D5
  25. 00000034  4849                     pea.l      A1
  26. 00000036  5354                     subq.w     [A4], 1
  27. 00000038  4F47                     chk.w      D7, D7
  28. 0000003A  5241                     addq.w     D1, 1
  29. 0000003C  4D00                     .invalid   6, D0 // invalid opcode 4 with b == 4
  30. 0000003E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  31. export_2634: // at 00000040 (misaligned)
  32. 00000042  FFFC                     .invalid   <<F/7/7>>
  33. 00000044  2F07                     move.l     -[A7], D7
  34. 00000046  426E FFFC                clr.w      [A6 - 0x4]
  35. 0000004A  3E2E FFFC                move.w     D7, [A6 - 0x4]
  36. 0000004E  6026                     bra        +0x28 /* 00000076 */
  37. label00000050:
  38. 00000050  206E 0008                movea.l    A0, [A6 + 0x8]
  39. 00000054  3007                     move.w     D0, D7
  40. 00000056  E540                     asl        D0.w, 2
  41. 00000058  48E7 8080                movem.l    -[A7], D0,A0
  42. 0000005C  42A7                     clr.l      -[A7]
  43. 0000005E  7201                     moveq.l    D1, 0x01
  44. 00000060  2F01                     move.l     -[A7], D1
  45. 00000062  2F3C 0000 00FF           move.l     -[A7], 0xFF
  46. 00000068  A84B                     syscall    FracDiv
  47. 0000006A  221F                     move.l     D1, [A7]+
  48. 0000006C  4CDF 0101                movem.l    D0,A0, [A7]+
  49. 00000070  2181 0000                move.l     [A0 + D0.w], D1
  50. 00000074  5247                     addq.w     D7, 1
  51. label00000076:
  52. 00000076  0C47 00FF                cmpi.w     D7, 0xFF
  53. 0000007A  6FD4                     ble        -0x2A /* 00000050 */
  54. 0000007C  2E1F                     move.l     D7, [A7]+
  55. 0000007E  4E5E                     unlink     A6
  56. 00000080  2E9F                     move.l     [A7], [A7]+
  57. 00000082  4E75                     rts
  58. 00000084  9153                     sub.w      [A3], D0
  59. 00000086  4554                     chk.w      D2, [A4]
  60. 00000088  4C45 5645                movem.l    D0,D2,D6,A1,A2,A4,A6, D5
  61. 0000008C  4C48 4953                movem.l    D0,D1,D4,D6,A0,A3,A6, A0
  62. 00000090  544F                     addq.w     A7, 2
  63. 00000092  4752                     chk.w      D3, [A2]
  64. 00000094  414D                     chk.w      D0, A5
  65. 00000096  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  66. export_2635: // at 00000098 (misaligned)
  67. 0000009A  FFF8                     .invalid   <<F/7/7>>
  68. 0000009C  48E7 0300                movem.l    -[A7], D6,D7
  69. 000000A0  7C00                     moveq.l    D6, 0x00
  70. 000000A2  426E FFF8                clr.w      [A6 - 0x8]
  71. 000000A6  3E2E FFF8                move.w     D7, [A6 - 0x8]
  72. 000000AA  601C                     bra        +0x1E /* 000000C8 */
  73. label000000AC:
  74. 000000AC  206E 0008                movea.l    A0, [A6 + 0x8]
  75. 000000B0  3007                     move.w     D0, D7
  76. 000000B2  E540                     asl        D0.w, 2
  77. 000000B4  BCB0 0000                cmp.l      D6, [A0 + D0.w]
  78. 000000B8  6C0C                     bge        +0xE /* 000000C6 */
  79. 000000BA  206E 0008                movea.l    A0, [A6 + 0x8]
  80. 000000BE  3007                     move.w     D0, D7
  81. 000000C0  E540                     asl        D0.w, 2
  82. 000000C2  2C30 0000                move.l     D6, [A0 + D0.w]
  83. label000000C6:
  84. 000000C6  5247                     addq.w     D7, 1
  85. label000000C8:
  86. 000000C8  0C47 00FF                cmpi.w     D7, 0xFF
  87. 000000CC  6FDE                     ble        -0x20 /* 000000AC */
  88. 000000CE  2D46 000C                move.l     [A6 + 0xC], D6
  89. 000000D2  4CDF 00C0                movem.l    D6,D7, [A7]+
  90. 000000D6  4E5E                     unlink     A6
  91. 000000D8  2E9F                     move.l     [A7], [A7]+
  92. 000000DA  4E75                     rts
  93. 000000DC  8C4D                     or.w       D6, A5
  94. 000000DE  4158                     chk.w      D0, [A0]+
  95. 000000E0  4849                     pea.l      A1
  96. 000000E2  5354                     subq.w     [A4], 1
  97. 000000E4  4F47                     chk.w      D7, D7
  98. 000000E6  5241                     addq.w     D1, 1
  99. 000000E8  4D00                     .invalid   6, D0 // invalid opcode 4 with b == 4
  100. 000000EA  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  101. export_2636: // at 000000EC (misaligned)
  102. 000000EE  FFFC                     .invalid   <<F/7/7>>
  103. 000000F0  2F07                     move.l     -[A7], D7
  104. 000000F2  426E FFFC                clr.w      [A6 - 0x4]
  105. 000000F6  3E2E FFFC                move.w     D7, [A6 - 0x4]
  106. 000000FA  600A                     bra        +0xC /* 00000106 */
  107. label000000FC:
  108. 000000FC  206E 0008                movea.l    A0, [A6 + 0x8]
  109. 00000100  1187 7000                move.b     [A0 + D7.w], D7
  110. 00000104  5247                     addq.w     D7, 1
  111. label00000106:
  112. 00000106  0C47 00FF                cmpi.w     D7, 0xFF
  113. 0000010A  6FF0                     ble        -0xE /* 000000FC */
  114. 0000010C  2E1F                     move.l     D7, [A7]+
  115. 0000010E  4E5E                     unlink     A6
  116. 00000110  2E9F                     move.l     [A7], [A7]+
  117. 00000112  4E75                     rts
  118. 00000114  9049                     sub.w      D0, A1
  119. 00000116  4445                     neg.w      D5
  120. 00000118  4E54 4954                link       A4, -0xFFFFB6AC
  121. 0000011C  5956                     subq.w     [A6], 4
  122. 0000011E  414C                     chk.w      D0, A4
  123. 00000120  5545                     subq.w     D5, 2
  124. 00000122  4D41                     chk.w      D6, D1
  125. 00000124  5000                     addq.b     D0, 8
  126. 00000126  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  127. export_2637: // at 00000128 (misaligned)
  128. 0000012A  FFFE                     .invalid   <<F/7/7>>
  129. 0000012C  2F07                     move.l     -[A7], D7
  130. 0000012E  3E2E 000C                move.w     D7, [A6 + 0xC]
  131. 00000132  9E7C 007F                sub.w      D7, 0x7F
  132. 00000136  3007                     move.w     D0, D7
  133. 00000138  48C0                     ext.l      D0
  134. 0000013A  322E 0008                move.w     D1, [A6 + 0x8]
  135. 0000013E  48C1                     ext.l      D1
  136. 00000140  2F00                     move.l     -[A7], D0
  137. 00000142  2F01                     move.l     -[A7], D1
  138. 00000144  4EAD 0382                jsr        [A5 + 0x382 /* export_108 */]
  139. 00000148  7064                     moveq.l    D0, 0x64
  140. 0000014A  2F00                     move.l     -[A7], D0
  141. 0000014C  4EAD 038A                jsr        [A5 + 0x38A /* export_109 */]
  142. 00000150  201F                     move.l     D0, [A7]+
  143. 00000152  3E00                     move.w     D7, D0
  144. 00000154  D07C 007F                add.w      D0, 0x7F
  145. 00000158  3E2E 000A                move.w     D7, [A6 + 0xA]
  146. 0000015C  DE40                     add.w      D7, D0
  147. 0000015E  6C04                     bge        +0x6 /* 00000164 */
  148. 00000160  4247                     clr.w      D7
  149. 00000162  600A                     bra        +0xC /* 0000016E */
  150. label00000164:
  151. 00000164  0C47 00FF                cmpi.w     D7, 0xFF
  152. 00000168  6F04                     ble        +0x6 /* 0000016E */
  153. 0000016A  3E3C 00FF                move.w     D7, 0xFF
  154. labe